<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>H5单页面手势滑屏切换</title>
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <div class="viewport" id="viewport">
        <div class="pageview" style="background-color:#3b76c0">
            <h3>页面-1</h3>
        </div>
        <div class="pageview" style="background-color:#58c03b">
            <h3>页面-2</h3>
        </div>
        <div class="pageview" style="background-color:#c03b25">
            <h3>页面-3</h3>
        </div>
        <div class="pageview" style="background-color:#e0a718">
            <h3>页面-4</h3>
        </div>
        <div class="pageview" style="background-color:#c03eac">
            <h3>页面-5</h3>
        </div>
    </div>

    <div class="pagenumber">
        <div class="now"></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </div>

    <script src="index.js"></script>
</body>

</html>